<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<div class="box_blue">
	<div class="box_title">
		我供应的订单
	</div>
	<s:if test="orders == null">
		没有符合要求的数据
	</s:if>
	<s:else>
		<table style="width: 100%;">
			<tr>
				<th scope="col">
					订单编号
				</th>
				<th scope="col">
					订单标题
				</th>
				<th scope="col">
					订单状态
				</th>
				<th scope="col">
					订单创建时间
				</th>
				<th scope="col">
					订单创建人
				</th>
			</tr>
			<s:iterator value="orders" id="order">
				<tr>
					<td class="row">
						<a href="<%=request.getContextPath()%>/order/viewOrder.do?id=<s:property value="#order.id" />"> <s:property value="#order.id" /> </a>
					</td>
					<td class="row">
						<s:property value="#order.title" />
					</td>
					<td class="row">
						<s:text name="%{#order.statusText}" />
					</td>
					<td class="row">
						<s:property value="#order.creationTime" />
					</td>
					<td class="row">
						<s:property value="#order.createUser.name" />
					</td>
				</tr>
			</s:iterator>
		</table>
		<jsp:include page="/include/pagecute.jsp"></jsp:include>
	</s:else>
</div>